// 公共配置项
import commonConfig from '../../../common-config';
// 模版
import template1 from './template1';

// 数据配置
const datas = {
	title: {title: '菜单名称', type: 'text', value: '实用工具'},
	preview_color: {
		title: "背景",
		type: "bg",
		value: {
			isColor: '1',
			color: "#ffffff",
			image: ""
		}
	},
	text_color: {title: '文字颜色', type: 'color', value: '#333333'},
	list_style: {
		title: '列表风格',
		type: 'radio',
		value: '1',
		options: [
			{label: '九宫格', value: '1'},
			{label: '列表', value: '2'},
		]
	},
	show_list: {
		title: "板块内容",
		type: "memberCheckbox",
		from: 'tool',
		value: [],
		urls: [],
	},
	list: {
		title: '添加板块内容',
		type: "list",
		notShow: true,
		notShowMinApp: true,
		tips: '板块内容只能跳转内部链接',
		choose_title: {
			choose_style: '2',
			choose_option: [
				{label: "普通样式", value: "1"},
				{label: "图标+文字", value: "2"},
			]
		},
		value: []
	},
	choose_style: {
		title: '选择方式',
		type: 'radio',
		value: '2',
		options: []
	},
};

// 样式配置
const styles = {};

export const config = commonConfig.merge({
	datas,
	styles,
	layout: [
		template1
	]
});
